#!usr/bin/env python

from Tkinter import *
import sqlite3

class Application(Frame):
    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.grid()
        self.createWidgets()

    def createWidgets(self):
        self.editArea = Text(self, width=25, height=15)
        self.editArea.grid()
        self.quitButton = Button(self, text="Exit", command=self.quit)
        self.quitButton.grid()


def main():
    app = Application()
    app.master.title("Dragon-pedia manager")
    app.mainloop()

if __name__ == '__main__':
    main()
